package com.bigfish.gbs.entity;

public class Merchant {
    private Integer mid;

    private String merchantname;

    private String password;

    private String realname;

    private String email;

    private String phone;

    private String addr;

    public Integer getMid() {
        return mid;
    }



    public Merchant() {
		super();
	}



	public Merchant(Integer mid, String merchantname, String password, String realname, String email, String phone,
                    String addr) {
		super();
		this.mid = mid;
		this.merchantname = merchantname;
		this.password = password;
		this.realname = realname;
		this.email = email;
		this.phone = phone;
		this.addr = addr;
	}



	public void setMid(Integer mid) {
        this.mid = mid;
    }

    public String getMerchantname() {
        return merchantname;
    }

    public void setMerchantname(String merchantname) {
        this.merchantname = merchantname == null ? null : merchantname.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public String getRealname() {
        return realname;
    }

    public void setRealname(String realname) {
        this.realname = realname == null ? null : realname.trim();
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public String getAddr() {
        return addr;
    }

    public void setAddr(String addr) {
        this.addr = addr == null ? null : addr.trim();
    }

}